transformer all parts function